<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // 赋值运算符
        var num = 10;
        //num = num + 2;//num+=2
        num += 2;//自加2
        console.log(num);
        age = 3;
        age *= 5;
        console.log(age);
    </script>
</head>

<body>

</body>

</html>